package com.yupi.project.service.impl.inner;

import com.lc.lcapicomment.service.InnerUserInterfaceInfoService;
import com.yupi.project.service.UserInterfaceInfoService;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

/**
 * 功能：
 * 作者：lc
 * 日期：2024/11/1 15:36
 */
@DubboService
public class InnerUserInterfaceInfoServiceImpl implements InnerUserInterfaceInfoService {
    @Resource
    private UserInterfaceInfoService userInterfaceInfoService;
    @Override
    public boolean invokeCount(Long interfaceInfoId, Long userId) {
        return userInterfaceInfoService.invokeCount(interfaceInfoId, userId);
    }

    @Override
    public boolean isHaveInvoke(Long interfaceInfoId, Long userId) {
        return userInterfaceInfoService.isHaveInvoke(interfaceInfoId,userId);
    }
}
